//
//  OcUtils.m
//  ddx0513
//
//  Created by ejian  on 15/8/4.
//  Copyright (c) 2015年 jiang yongbin. All rights reserved.
//

#import "OcUtils.h"

@implementation OcUtils

+ (void)rotateScreenToLandscapeRight
{
    [[UIDevice currentDevice] setValue: [NSNumber numberWithInteger: UIInterfaceOrientationLandscapeRight] forKey:@"orientation"];
}

+ (void)rotateScreenToPortrait
{
    [[UIDevice currentDevice] setValue: [NSNumber numberWithInteger: UIInterfaceOrientationPortrait] forKey:@"orientation"];
}

@end
